home *** CD-ROM | disk | FTP | other *** search
/ Aminet 43 / Aminet 43 (2001)(GTI - Schatztruhe)[!][Jun 2001].iso / Aminet / comm / tcp / Amster-source.lha / Amster_Install / Source / makefile.ppc < prev    next >
Makefile  |  2000-11-20  |  726b  |  31 lines

  1. #
  2. # Amster
  3. # GCC makefile for MorphOS
  4. #
  5.  
  6. SHELL = /bin/sh
  7. CC = gcc
  8.  
  9. CFLAGS = -O -fomit-frame-pointer -mstrict-align -I./include -I. -DMORPHOS
  10. LDFLAGS = -noixemul
  11. OBJS = amster_Cat.oPPC main.oPPC about.oPPC gui.oPPC search.oPPC panel.oPPC transfer.oPPC download.oPPC share.oPPC upload.oPPC prefs.oPPC info.oPPC msg.oPPC chat.oPPC chatline.oPPC napster.oPPC rexx.oPPC thread.oPPC sound.oPPC lamp.oPPC url.oPPC mui.oPPC md5.oPPC navigator.oPPC hotlist.oPPC resultview.oPPC channellist.oPPC
  12.  
  13. #%.oPPC: %.c
  14. #    ./tools/pregcc <$*.c >/t/$*.cp
  15. #    $(CC) $(CFLAGS) -x c -c /t/$*.cp -o $*.oPPC
  16.  
  17.  
  18. %.oPPC: %.c
  19.     $(CC) $(CFLAGS) -c $< -o $@
  20.  
  21. #
  22.  
  23. Amster.elf: $(OBJS)
  24.     $(CC) $(LDFLAGS) $(OBJS) -o Amster.elf
  25.  
  26. #
  27.  
  28. .PHONY : clean
  29. clean:
  30.     rm -f *.oPPC
  31.